//
//  UserManager.h
//  BCManagerVersion
//
//  Created by 吴 崧 on 14-2-23.
//  Copyright (c) 2014年 Jungle. All rights reserved.
//

#import <Foundation/Foundation.h>
@class UserModel;

@interface UserManager : NSObject<NSCoding>

@property(nonatomic,strong)NSString *auth;
@property(nonatomic,strong)NSNumber *uid;
@property(nonatomic,strong)NSString *iphoneId;
@property(nonatomic,strong)NSString *passport;
@property(nonatomic,strong)NSString *name;
@property(nonatomic,strong)NSString *avatar;
@property(nonatomic,strong)NSString *register_time;
@property(nonatomic,strong)NSString *city;
@property(nonatomic,strong)NSNumber *status;
@property(nonatomic,strong)NSString *tAvatar;



@property(nonatomic,assign)BOOL didLogin;
@property(nonatomic,assign)BOOL canPush;
@property(nonatomic,assign)BOOL canAlert;
@property(nonatomic,assign)BOOL canSound;
@property(nonatomic,assign)BOOL canVibrator;
@property(nonatomic,assign)float timeStamp;

+(instancetype)sharedManager;
-(BOOL)save;

-(void)configWithModel:(UserModel *)model;


@end
